
@font-face {
  font-family:"MyLato";
  src: url("../fonts/Lato-Regular.ttf");
  
}
@font-face {
  font-family:"MyGabriola";
  src: url("../fonts/gabriola.ttf");
}  
@font-face {
    font-family:"MyImprint";
    src: url("../fonts/ImprintMTShadow.ttf");
}
@media only screen and (max-width: 700px) {

  #terralath {
    display:none;
    flex-direction: column;
  }


.nav {
    justify-content: space-between;
    display: flex;
    max-width: 95.5%;
    margin: auto;
    list-style: none;

}
}
#terralath_name {
  font-family:"MyGabriola";
  font-size: 70px;

}
.back {
  
  font-size: 30px;    
  border: none;
  outline: none;
  color: white;
  padding-top: auto;
  background-color: inherit;
  font-family: inherit;
  margin-top: auto;
  margin-bottom: auto;

}

.navbar {
  justify-content: space-between;
  display: flex;
 

  
  max-width: 80%;
  margin-left: auto;
  margin-right: auto;
}

.navbar a {
    float: left;
    font-size: 30px;
    color: white;
    text-align: center;
   
    text-decoration: none;
}

.dropdown {
    float: left;
    position: relative;
}
.dropdown .dropbtn {
    font-size: 30px;    
    border: none;
    outline: none;
    color: white;
    padding: 14px 16px;
    background-color: inherit;
    font-family: inherit;
    margin: 0;
}


.navbar a:hover, .dropdown:hover .dropbtn {
    background-color: rgb(119, 10, 10);
}

.dropdown-one {
  cursor: pointer;
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 300px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}


.dropdown-two {
  cursor: pointer;
  display: none;
  position: absolute;
  top: 0px;
  min-width: 300px;
  background-color: #f9f9f9;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  left:100%
}

.dropdown:hover .dropdown-one, #link1:hover > .dropdown-two {
  display: block;
}

.dropdown-one .dItem {
    color: black;
    padding: 12px 40px;
    display: block;
    text-align: left;
    font-size: 30px;
}

.dropdown-one .dItem:hover, .dropdown-two a:hover {
    background-color: #ddd;
}
.balken {
  background-color: #333;
  height: fit-content;
}

body {
  font-family: MyLato;
  margin: 0px;
  background: url("../pictures/background.jpg")no-repeat center fixed;
  background-size: cover;
  color:white
 
  
}
#top {
  text-align: center;
  
}

#logo {
  color:rgb(255, 255, 255);
  background-color: rgb(143, 15, 15);
  display: inline-block;
  font-size: 50px;
  font-weight: normal;
  padding: 3px;
  padding-top: 10px;
  padding-bottom: 13px;
  margin-top: 16px;
  border-radius: 4px;
  font-family:Georgia, 'Times New Roman', Times, serif;
  
  }
#logo-name {
  font-family: 'Courier New', Courier, monospace;
  font-size: 55px;
  margin: 8px;
  
  }

#image img {
  width: 100%;
  margin-top: 16px;
  margin-bottom: 16px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 25px 30px 5px rgba(0, 0, 0, 0.842);
    
  }
  #stammbaum img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 80%;
  }
#footer {
  text-align: center;
  color:rgb(173, 165, 165);
  padding: 16px
}
#titlebox {
  text-align: center;
  max-width: 800px;
  margin:auto;
  padding: 12px;
  margin-top:50px;
  font-size: 30px;
}

#textbox {

      max-width: 1200px;
      margin:auto;
      padding: 16px;
      text-align:justify;
      font-size: 25px;
      
  }
#textbox-con {
  text-align:left;
  max-width: 1200px;
  margin:auto;
  padding: 16px;
  font-size: 25px;
  
}



.nav {
  box-shadow: 0 10px 8px 0 rgba(0, 0, 0, 0.726), 0 5px 20px 5px rgba(0, 0, 0, 0.781);
    border-width:1px 0;
    list-style:none;
    margin:auto;
    padding:auto;
    text-align:center;
}
.nav li{
    display:inline;
}
.nav a{
    
    padding-top:15px;
    padding-bottom:15px;
    padding-left:20px;
    padding-right:20px;
}
#Terralath {
  
  
  
  text-align: center;
  margin:auto
}

#cover {
  width: 100%;
  margin-top: 16px;
  margin-bottom: 16px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 25px 30px 5px rgba(0, 0, 0, 0.842);  
}

#spoiler {
  font-size: 35px;
  text-align: center;
}


.textbox {
  text-align: center;
  max-width: 1300px;
  margin:auto;
  padding: 12px;
  font-size: 30px;


}
#wikiname {
  font-size: 80px;
  text-align: center;
  font-family: "MyImprint";
}

.tg  {
  border-collapse:collapse;
  border-spacing:0;
  margin: auto;
}

.tg td{
  border-style:solid;
  border-width:1px;
  overflow:hidden;
  word-break:normal;
}
.tg tb{
  border-style:solid;
  border-width:1px;
  overflow:hidden;
  word-break:normal;
}
.tg th{
  font-size:35px; 
  font-style:italic;}

.name {
  font-family:'Arial, sans-serif';
  font-size:30px;
  padding:10px 5px;
  background-color: rgba(0, 0, 0, 0.274);
}
.name2 {
  font-family:'Arial, sans-serif';
  font-size:25px;
  padding:10px 5px;
  font-style:unset;
  text-align:center;
}


.inhalt{
  font-family:Arial, sans-serif;
  font-size:25px;
  padding:10px 5px;
}

.textflow {
  font-size: 30px;
  text-align: left;
}

.zwischen {
  font-size: 50px;
  text-align: center;
}
/* Style the Image Used to Trigger the Modal */
#myImg {
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
  text-align:center;
  display: block;
  margin-left: auto;
  margin-right: auto;
}



/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
  float:center;
}

/* Modal Content (Image) */
.modal-content {
  margin: auto;
  display: block;
  width: 80%;
}

/* Caption of Modal Image (Image Text) - Same Width as the Image */
#caption {
  margin: auto;
  display: block;
  width: 80%;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
}

/* Add Animation - Zoom in the Modal */
.modal-content, #caption {
  animation-name: zoom;
  animation-duration: 0.6s;
}

@keyframes zoom {
  from {transform:scale(0)}
  to {transform:scale(1)}
}

/* The Close Button */
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}
html {
  scroll-behavior: smooth;
}
#backto{
  text-align: center; 
  margin:auto;

}
.scrollbar{
  text-align: center;
  margin:auto;
  display:block;
}